home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earkit / browser / alynx / orig / installation < prev    next >
Text File  |  1998-05-24  |  15KB  |  323 lines

  1. For a description of Lynx please read the README file.
  2.  
  3.         Lynx Installation guide.
  4.  
  5.         Last Updated August 1995
  6.  
  7. UNIX & VMS Step 1a. 
  8.     Most of the variables that you are likely to change are in the
  9.     userdefs.h file.  There are a few that you must change or verify,
  10.     and a few more that you will probably want to change.  The variables
  11.     that must be changed are marked as such in the userdefs.h file.
  12.     Just edit it and the changes should be straight forward.  
  13.  
  14.     NOTE: Many of the variables in userdefs.h are now configurable in
  15.       the lynx.cfg file.  Please read the lynx.cfg file as well.
  16.       Also see the example mime.types, mailcap and jumps files
  17.       in the samples subdirectory.
  18.  
  19. UNIX & VMS Step 1b. (optional)
  20.     Set up local printers and downloaders
  21.     in the lynx.cfg file.  (see lynx.cfg for details)
  22.  
  23. UNIX & VMS Step 1c. (optional)
  24.       If you would like to enable PASV FTP code then
  25.       edit WWW/Library/Implementation/HTFTP.c and
  26.       comment out line 43 like so:
  27.       /*  #define LISTEN   /* @@@@ Test LJM */
  28.  
  29. UNIX Step 1d.  (WAIS support is built into Lynx for VMS, skip to step 1e)
  30.     Adding Direct WAIS support.
  31.     Get the freeWAIS distribution from sunsite.unc.edu, or ftp2.cc.ukans.edu
  32.     and compile it.  The compile process will create some libraries, you will 
  33.     need wais.a and client.a.  Edit the Makefile in the top level  directory 
  34.     and add the library locations under the DIRECT WAIS ACCESS heading.  
  35.     Edit the Makefile for the WWW Library in the
  36.     WWW/Library/Implementation/CommonMakefile to make the WAIS.c sources
  37.     in the library.  If everything goes well you should
  38.     be able to make and have direct WAIS access.
  39.  
  40. UNIX Step 1e.
  41.     Adding NEWS support.
  42.     To enable news reading ability via Lynx, set the environment variable
  43.     NNTPSERVER so that it points to your site's NNTP server (see Step 5).
  44.  
  45.     To enable news posting ability from Lynx, in userdefs.h (and optionally
  46.     in lynx.cfg) define INEWS to the full path and name of the inews program.
  47.     A "mini" inews has been included in the utils directory.  Note that INN
  48.     may require the -h switch following the path.
  49.  
  50. VMS Step 1e.
  51.     Adding NEWS support.
  52.     To enable news reading ability via Lynx, set the environment variable
  53.     NNTPSERVER so that it points to your site's NNTP server (see Step 5).
  54.  
  55.     To enable news posting ability from Lynx, in userdefs.h (and optionally
  56.     in lynx.cfg) define INEWS to the foreign command for invoking news via
  57.     your ANU-NEWS client (presumably, "NEWS").  The ANU-NEWS software is
  58.     available from ftp.cc.ukans.edu.
  59.  
  60. VMS Step 1f.
  61.     Downloading binary files.
  62.     Lynx must handle all IO as streams, and on VMS, output files are always
  63.     created with Stream_LF format via the C RTL's fopen().  The file headers
  64.     indicate Implied Carriage Control, even when the transfer was in binary
  65.     mode, which can confuse downloading software and cause corruption of
  66.     the file contents.  To deal with this, you should define the symbol
  67.     USE_FIXED_RECORDS as TRUE in userdefs.h and/or lynx.cfg.  This will
  68.     instruct Lynx to correct the header information to indicate FIXED 512
  69.     records, with No Implied Carriage Control.  If Lynx fails to do the
  70.     conversion (because the file wasn't mapped to a binary MIME type) you can
  71.     execute FIXED512.COM externally to correct the header information.  The
  72.     command file uses Joe Meadow's FILE utility, or the SET FILE/ATTRIBUTES
  73.     command on current versions of VMS, to modify the headers.  See the
  74.     comments in FIXED512.COM, userdefs.h and lynx.cfg for more information.
  75.  
  76. UNIX Step 2.
  77.     VMS users skip to 'VMS step 2'
  78.  
  79.     Check the top level Makefile for any site-specific definitions
  80.     you require or desire. Then, you should be ready to compile!
  81.  
  82.     If you type "make" with no arguments you will see a list of 
  83.     supported systems.  If your system type IS listed you just
  84.     need to type "make SYSTEM_TYPE".  For instance, if you are
  85.     running under IBM's RS/6000 AIX 3.2 you would just type
  86.     "make aix32".  If you were running Ultrix you would type
  87.     "make ultrix".
  88.  
  89.     If you are on a SUN workstation and do not have 'gcc' you 
  90.     may change 'gcc' to '/usr/5bin/cc' in the Makefile
  91.  
  92.     If you are on a system that is not listed in the makefile it may be
  93.     more difficult. The first thing you should try is just "make generic",
  94.     this will compile with the "fancy_curses" option, and will give a much
  95.     nicer screen display.  If it doesn't compile or if the screen display
  96.     looks strange (real strange), try compiling with the "low_curses" option.
  97.     Edit the Makefile and remove the '-DFANCY_CURSES' definition under the
  98.     'generic:' entry.  There may be some compatibility problems on some
  99.     systems, but we don't know what they might be at this point.  If you
  100.     are running on a currently unsupported system please contact us via
  101.     "lynx-bug@ukanaix.cc.ukans.edu" or subscribe and post your question
  102.     to the lynx-dev email list (see RELEASE_NOTES).  If there are any
  103.     problems we will try to fix them as soon as possible.  
  104.  
  105. VMS step 2.
  106.     A "build.com" script for building Lynx is in the top level directory.
  107.     All you have to do is type "@build" and answer its prompt for your
  108.     system's TCPIP software.  Current choices are:
  109.            MULTINET (default)
  110.        UCX
  111.        WIN_TCP
  112.            CMU_TCP
  113.        SOCKETSHR_TCP
  114.        TCPWARE
  115.     It will autosense whether you have VAXC, DECC or GNUC on VAX or AXP
  116.     and build appropriately.  If a WWWLib already exists for that TCPIP
  117.     software, it will prompt you for whether you want to rebuild it.  If
  118.     you want to build a WWWLib separately, you can type "@libmake.com"
  119.     with your default directory set to [.WWW.Library.vms] instead doing
  120.     it via "build.com" in the top directory.
  121.  
  122.     (optional compilation method)
  123.     If you have and want to use MMS, read the header of descrip.mms
  124.     in the top directory and be sure you include the appropriate macro
  125.     definitions when you invoke it:
  126.     $ MMS /Macro = (MULTINET=1)        for VAXC - MultiNet
  127.     $ MMS /Macro = (WIN_TCP=1)        for VAXC - Wollongong TCP/IP
  128.     $ MMS /Macro = (UCX=1)            for VAXC - UCX
  129.     $ MMS /Macro = (CMU_TCP=1)        for VAXC - OpenCMU TCP/IP
  130.     $ MMS /Macro = (SOCKETSHR_TCP=1)    for VAXC - SOCKETSHR/NETLIB
  131.     $ MMS /Macro = (TCPWARE=1)        for VAXC - TCPWare TCP/IP
  132.  
  133.     $ MMS /Macro = (MULTINET=1, DEC_C=1)    for DECC - MultiNet
  134.     $ MMS /Macro = (WIN_TCP=1, DEC_C=1)    for DECC - Wollongong TCP/IP
  135.     $ MMS /Macro = (UCX=1, DEC_C=1)        for DECC - UCX
  136.     $ MMS /Macro = (CMU_TCP=1, DEC_C=1)    for DECC - OpenCMU TCP/IP
  137.     $ MMS /Macro = (SOCKETSHR_TCP=1,DEC_C=1) for DECC - SOCKETSHR/NETLIB
  138.     $ MMS /Macro = (TCPWARE=1, DEC_C=1)    for DECC - TCPWare TCP/IP
  139.  
  140.     $ MMS /Macro = (MULTINET=1, GNU_C=1)    for GNUC - MultiNet
  141.     $ MMS /Macro = (WIN_TCP=1, GNU_C=1)    for GNUC - Wollongong TCP/IP
  142.     $ MMS /Macro = (UCX=1, GNU_C=1)        for GNUC - UCX
  143.     $ MMS /Macro = (CMU_TCP=1, GNU_C=1)    for GNUC - OpenCMU TCP/IP
  144.     $ MMS /Macro = (SOCKETSHR_TCP=1,GNU_C=1) for GNUC - SOCKETSHR/NETLIB
  145.     $ MMS /Macro = (TCPWARE=1, GNU_C=1)    for GNUC - TCPWare TCP/IP
  146.  
  147.  
  148.         If you just type "MMS" it will default to the MULTINET and VAXC
  149.     configuration.  MMS will build the WWW library and Lynx sources,
  150.     and link the exectable.
  151.  
  152.     If you want SOCKS support on VMS, you must add SOCKS as a compilation
  153.     definition, and the SOCKS library to the link command.  However, instead
  154.     of SOCKSifying Lynx for use behind a firewall, you are better off if you
  155.     build Lynx normally, and set up Lynx to use a proxy server (see below).
  156.     You instead can SOCKSify the proxy server, and it will handle all clients,
  157.     not just Lynx.
  158.  
  159.  
  160. UNIX Step 3.
  161.     Go ahead and test it out with the samples/readme.html file.
  162.     You shouldn't need to install Lynx to test it.
  163.     Once you are satisfied that it works, go ahead and install it.
  164.  
  165.     VERY IMPORTANT!!!!!
  166.         If you are setting up an anonymous account with Lynx you
  167.         are strongly advised to use the -anonymous command line
  168.         option.  If you do not use this option, users may be able
  169.         to gain access to all readable files on your machine.
  170.  
  171. VMS Step 3. 
  172.     Go ahead and test it out with the [.samples]readme.html file.
  173.     You shouldn't need to install Lynx to test it.
  174.     Once you are satified that it works, go ahead and install it.
  175.  
  176.     VERY IMPORTANT!!!!!
  177.         If you are setting up an anonymous account with Lynx you
  178.         are strongly advised to use the -anonymous command line
  179.         option.  If you do not use this option, users will be able
  180.         to gain access to all readable files on your machine.
  181.  
  182.  
  183. UNIX Step 4. (Installation)
  184.     Lynx is very easy to install, if you want Lynx installed anywhere 
  185.     besides "/usr/local/bin", with the man files in "/usr/man/man1", you 
  186.     need to edit the Makefile and change the "exec" and "doc" defines.
  187.     Otherwise just "su" to root and type "make install" and make will
  188.     copy "lynx", "lynx.cfg" and  "lynx.1" to the specified directories.  
  189.     Those are the only two files necessary to run Lynx.  
  190.     lynx.1 isn't really necessary, but it should be available.
  191.     lynx.cfg isn't absolutely necessary either but is the only way
  192.     to configure printers and downloaders (and uploaders if DIRED_SUPPORT
  193.     is implemented), so it is highly recommended.
  194.     Also check out the mailcaps, mime.types and jumps file samples in the
  195.     samples directory.
  196.  
  197. VMS Step 4.
  198.     You need to have the executable in a public place, make it accessible,
  199.     define it as a foreign command, and copy lynx.cfg to "Lynx_Dir".  Look
  200.     at lynx.com in the samples directory as a model for installing Lynx.
  201.     Also check out the mailcaps, mime.types and jumps file samples in the
  202.     samples directory.  To include lynx.hlp in the system HELP library,
  203.     use the command:
  204.  
  205.             $ library/replace sys$help:helplib.hlb lynx.hlp
  206.  
  207.  
  208. UNIX and VMS Step 5.
  209.     Lynx uses some environment variables to regulate it's behavior.
  210.     
  211.     The variable "NNTPSERVER" is used to specify the host which will
  212.     be used for news URLs.
  213.     
  214.     UNIX
  215.         setenv NNTPSERVER "news.server.dom"
  216.     
  217.     VMS
  218.         define/system NNTPSERVER "news.server.dom"
  219.  
  220.  
  221.     The environment variable "LYNX_CFG", if set, will override the default
  222.     location and name of the global configuration file (lynx.cfg) that was
  223.     defined via the constant "LYNX_CFG_FILE" in userdefs.h.  See userdefs.h
  224.     for more information.
  225.  
  226.  
  227.     The variable "WWW_HOME", if set, will override the default startup
  228.     URL specified in any of the configuration files.
  229.  
  230.  
  231.     Lynx still supports use of gateway servers, with the servers specified
  232.     via the variables "WWW_access_GATEWAY", where "access" is lower case
  233.     and can be "http", "ftp", "gopher" or "wais".  Most of the gateway
  234.     servers have been discontinued, but "http://www.w3.org:8001" is
  235.     available for wais searches (note that you do not include a terminal
  236.     '/' for gateways, but do for proxies; see below).
  237.  
  238.  
  239.     Lynx version 2.2 and beyond supports the use of proxy servers that can
  240.     act as firewall gateways and caching servers.  They are preferable to
  241.     the older gateway servers.  Each protocol used by Lynx can be mapped
  242.     separately using PROTOCOL_proxy environment variables of the form:
  243.     
  244.         UNIX
  245.                 setenv http_proxy "http://some.server.dom:port/"
  246.                 setenv ftp_proxy "http://some.server.dom:port/"
  247.                 setenv gopher_proxy "http://some.server.dom:port/"
  248.                 setenv news_proxy "http://some.server.dom:port/"
  249.                 setenv wais_proxy "http://some.server.dom:port/"
  250.                 
  251.         VMS
  252.                 define "http_proxy" "http://some.server.dom:port/"
  253.                 define "ftp_proxy" "http://some.server.dom:port/"
  254.                 define "gopher_proxy" "http://some.server.dom:port/"
  255.                 define "news_proxy" "http://some.server.dom:port/"
  256.                 define "wais_proxy" "http://some.server.dom:port/"
  257.                 (Encase *BOTH* strings in double-quotes to maintain
  258.          lower case for the PROTOCOL_proxy variable and for
  259.          the http access type; include /system if you want
  260.          proxying for all clients on your system.)
  261.  
  262.      If you wish to override the use of a proxy server for specific hosts or
  263.      entire domains you may use the "no_proxy" environment variable. Here is
  264.      an example use of "no_proxy":
  265.           
  266.         UNIX
  267.                 setenv no_proxy "host.domain.dom, domain1.dom, domain2"
  268.                 
  269.         VMS
  270.                 define "no_proxy" "host.domain.dom, domain1.dom, domain2"
  271.  
  272.     You can include a port number in the no_proxy list to override use
  273.     of a proxy server for the host accessed via that port, but not via
  274.     other ports.  For example, if you use "host.domain.dom:119" and/or
  275.     "host.domain.dom:210", then news (port 119) URLs and/or any wais
  276.     (port 210) searches on that host would be excluded, but http, ftp,
  277.     and gopher services (if normally proxied) would still be included,
  278.     as would any news or wais services on other hosts.
  279.  
  280.     Note that Lynx treats file URLs on the local host as requests for
  281.     direct access to the file, and does not attempt ftp if that fails.
  282.     It treats both ftp URLs and file URLs on remote hosts as ftp URLs,
  283.     and does not attempt direct file access for either.  If ftp URLs are
  284.     being proxied, file URLs on a remote host will be converted to ftp
  285.     URLs before submission by Lynx to the proxy server, so no special
  286.     procedure for inducing the proxy server to handle them is required.
  287.     Other WWW clients may require that the http server's configuration
  288.     file have "Map file:* ftp:*" in it to perform that conversion.
  289.  
  290.     The proxy and no_proxy variables also can be set at run time via
  291.     lynx.cfg.
  292.  
  293.     Copies of the Lynx online help are included in the lynx_help
  294.     subdirectory tree and should be made accessible in response to
  295.     the Lynx 'h'elp command by defining HELPFILE in userdefs.h and/or
  296.     lynx.cfg to an appropriate file://localhost/path URL.
  297.     
  298.  
  299. UNIX & VMS Step 6. (Hopefully Optional)
  300.     If something doesn't work, or you can't get it to compile at all, or
  301.     you can't figure out what one of the defines means, or if you just
  302.     want to make a comment, send a message to the Support Staff by email,
  303.     or call on the phone.  Until Lynx has been ported to all the world's
  304.     operating systems, we expect there will be some compatibility problems,
  305.     but we'll do our best to help you.
  306.  
  307.  
  308. Newbee questions and help should be address to:
  309.     Lynx Support Staff        lynx-bug@ukanaix.cc.ukans.edu
  310.     Computing Services        
  311.     University of Kansas
  312.     Lawrence, KS 66045        (913) 864-0436
  313.  
  314.  
  315. Advanced questions and discussions about Lynx should be via the lynx-dev
  316.     email list (see RELEASE_NOTES).  A link for sending a subscription
  317.     request to the listerver (listserv@ukanaix.cc.ukans.edu) is in the
  318.     NEW_INSTALLS.html file in the samples directory.  If you subsequently
  319.     wish to unsubscribe from lynx-dev, you can send the unsubscribe
  320.     request to the listserver via that same link.  DO NOT SEND subscribe
  321.     OR unsubscribe REQUESTS TO THE lynx-dev LIST ITSELF!!!!!!
  322.  
  323.